<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>乔迁之喜 | 张凯 杜玉娟 张瑞轩宇</title>
    <link href="https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@400;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Noto Serif SC', serif;
            background: linear-gradient(135deg, #8b0000, #5a0000);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            color: #5a2c1b;
            position: relative;
            overflow-x: hidden;
        }
        
        /* 背景装饰元素 */
        .cloud {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            z-index: 0;
        }
        
        .cloud:nth-child(1) {
            top: 10%;
            left: 5%;
            width: 120px;
            height: 40px;
        }
        
        .cloud:nth-child(2) {
            bottom: 15%;
            right: 8%;
            width: 180px;
            height: 60px;
        }
        
        .cloud:nth-child(3) {
            top: 20%;
            right: 15%;
            width: 150px;
            height: 50px;
        }
        
        /* 主邀请卡容器 */
        .invitation-container {
            position: relative;
            width: 100%;
            max-width: 800px;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f5e8d4"/><path d="M0,0 Q50,20 100,0 L100,100 Q50,80 0,100 Z" fill="%23e8d2b8"/></svg>') #f5e8d4;
            background-size: cover;
            border-radius: 12px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
            overflow: hidden;
            border: 12px solid #c81623;
            padding: 40px 30px;
            margin: 20px;
            z-index: 10;
            animation: float 8s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }
        
        /* 金色边框 */
        .gold-border {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 4px solid transparent;
            border-image: linear-gradient(45deg, #d4af37, #f9e076, #d4af37);
            border-image-slice: 1;
            pointer-events: none;
            z-index: 1;
        }
        
        /* 中式窗格装饰 */
        .window-pattern {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-image: 
                linear-gradient(90deg, transparent 95%, rgba(200, 22, 35, 0.1) 95%),
                linear-gradient(0deg, transparent 95%, rgba(200, 22, 35, 0.1) 95%);
            background-size: 40px 40px;
            pointer-events: none;
            z-index: 0;
        }
        
        /* 标题区域 */
        .header {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            z-index: 2;
        }
        
        .title {
            font-family: 'Ma Shan Zheng', cursive;
            font-size: 5rem;
            color: #c81623;
            text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
            letter-spacing: 10px;
            margin-top: 20px;
            position: relative;
            display: inline-block;
        }
        
        .title::before, .title::after {
            content: "❧";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #c81623;
            font-size: 2rem;
        }
        
        .title::before {
            left: -50px;
        }
        
        .title::after {
            right: -50px;
        }
        
        .subtitle {
            font-size: 1.8rem;
            color: #5a2c1b;
            margin-top: 15px;
            letter-spacing: 5px;
            font-weight: bold;
        }
        
        /* 分隔线 */
        .divider {
            height: 2px;
            background: linear-gradient(to right, transparent, #c81623, transparent);
            margin: 40px 10%;
            position: relative;
            z-index: 2;
        }
        
        .divider::before,
        .divider::after {
            content: "✦";
            position: absolute;
            top: -12px;
            color: #c81623;
            font-size: 24px;
            background: #f5e8d4;
            padding: 0 10px;
        }
        
        .divider::before {
            left: calc(50% - 100px);
        }
        
        .divider::after {
            right: calc(50% - 100px);
        }
        
        /* 主要内容区域 */
        .content {
            text-align: center;
            font-size: 1.5rem;
            line-height: 2.8;
            margin: 30px 0;
            position: relative;
            z-index: 2;
        }
        
        .highlight {
            color: #c81623;
            font-weight: bold;
            font-size: 1.8rem;
            margin: 0 10px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
            position: relative;
            display: inline-block;
        }
        
        .highlight::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(to right, transparent, #d4af37, transparent);
        }
        
        /* 邀请人区域 */
        .hosts {
            text-align: center;
            font-size: 1.9rem;
            color: #5a2c1b;
            margin: 50px 0 30px;
            font-weight: bold;
            letter-spacing: 3px;
            position: relative;
            z-index: 2;
        }
        
        .hosts span {
            color: #c81623;
            display: inline-block;
            padding: 5px 15px;
            background: rgba(200, 22, 35, 0.1);
            border-radius: 5px;
            margin-top: 10px;
        }
        
        /* 页脚 */
        .footer {
            text-align: center;
            font-size: 1.3rem;
            color: #7d4a2d;
            margin-top: 40px;
            font-style: italic;
            position: relative;
            z-index: 2;
        }
        
        /* 装饰元素 */
        .decoration {
            position: absolute;
            opacity: 0.15;
            z-index: 0;
            font-size: 4rem;
            color: #c81623;
        }
        
        .top-left {
            top: 30px;
            left: 30px;
            transform: rotate(-15deg);
        }
        
        .top-right {
            top: 30px;
            right: 30px;
            transform: rotate(15deg);
        }
        
        .bottom-left {
            bottom: 30px;
            left: 30px;
            transform: rotate(15deg);
        }
        
        .bottom-right {
            bottom: 30px;
            right: 30px;
            transform: rotate(-15deg);
        }
        
        /* 金色线条 */
        .gold-line {
            position: absolute;
            height: 3px;
            background: linear-gradient(90deg, transparent, #d4af37, transparent);
            left: 10%;
            right: 10%;
            z-index: 1;
        }
        
        .top-line {
            top: 200px;
        }
        
        .bottom-line {
            bottom: 200px;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .title {
                font-size: 3.5rem;
                letter-spacing: 5px;
            }
            
            .title::before, .title::after {
                font-size: 1.5rem;
            }
            
            .title::before {
                left: -30px;
            }
            
            .title::after {
                right: -30px;
            }
            
            .subtitle {
                font-size: 1.4rem;
            }
            
            .content {
                font-size: 1.3rem;
                line-height: 2.2;
            }
            
            .highlight {
                font-size: 1.5rem;
            }
            
            .hosts {
                font-size: 1.5rem;
            }
            
            .divider {
                margin: 30px 5%;
            }
        }
        
        @media (max-width: 480px) {
            .invitation-container {
                padding: 30px 15px;
                border-width: 8px;
            }
            
            .title {
                font-size: 2.8rem;
            }
            
            .subtitle {
                font-size: 1.2rem;
            }
            
            .content {
                font-size: 1.1rem;
            }
            
            .highlight {
                font-size: 1.3rem;
            }
            
            .hosts {
                font-size: 1.3rem;
            }
            
            .decoration {
                font-size: 2.5rem;
            }
        }
        
        /* 动画元素 */
        .floating {
            animation: floating 3s ease-in-out infinite;
        }
        
        @keyframes floating {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        /* 地图按钮 */
        .map-btn {
            display: block;
            width: 200px;
            margin: 30px auto 0;
            padding: 12px 20px;
            background: linear-gradient(to right, #c81623, #a00e1a);
            color: #fff;
            text-align: center;
            border-radius: 30px;
            font-size: 1.2rem;
            text-decoration: none;
            box-shadow: 0 5px 15px rgba(200, 22, 35, 0.4);
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
            border: none;
            cursor: pointer;
        }
        
        .map-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(200, 22, 35, 0.6);
        }
        
        .map-btn i {
            margin-right: 8px;
        }
        
        .address-hint {
            display: block;
            text-align: center;
            font-size: 1.1rem;
            color: #7d4a2d;
            margin-top: 10px;
            font-style: italic;
        }
    </style>
</head>
<body>
    <!-- 背景装饰 -->
    <div class="cloud"></div>
    <div class="cloud"></div>
    <div class="cloud"></div>
    
    <!-- 主邀请卡 -->
    <div class="invitation-container">
        <div class="window-pattern"></div>
        <div class="gold-border"></div>
        
        <!-- 装饰文字 -->
        <div class="decoration top-left">囍</div>
        <div class="decoration top-right">福</div>
        <div class="decoration bottom-left">吉</div>
        <div class="decoration bottom-right">祥</div>
        
        <!-- 金色线条 -->
        <div class="gold-line top-line"></div>
        <div class="gold-line bottom-line"></div>
        
        <!-- 标题区 -->
        <div class="header">
            <h1 class="title floating">乔迁之喜</h1>
            <p class="subtitle">—— 新居落成 敬备薄酌 ——</p>
        </div>
        
        <!-- 主要内容 -->
        <div class="content">
            谨定于 <span class="highlight">2025年6月22日</span> 吉时<br>
            于 <span class="highlight">广源宾馆</span> 设宴<br>
            恭请阁下莅临寒舍<br>
            共贺新居落成之喜
        </div>
        
        <!-- 分隔线 -->
        <div class="divider"></div>
        
        <!-- 祝福语 -->
        <div class="content">
            瑞气临门 新居焕彩<br>
            祥光满室 华构增辉<br>
            蓬荜生辉迎贵客<br>
            金樽斟满贺乔迁
        </div>
        
        <!-- 邀请人 -->
        <div class="hosts">
            诚邀人：<br>
            <span>张凯 杜玉娟 张瑞轩宇</span>
        </div>
        
        <!-- 地图按钮 - 使用高德地图打开具体地址 -->
        <a href="https://uri.amap.com/search?keyword=长春市凯旋路2788号" class="map-btn" target="_blank" title="长春市凯旋路2788号">
            <i class="fas fa-map-marker-alt"></i>查看酒店位置
        </a>
        <div class="address-hint">长春市凯旋路2788号</div>
        
        <!-- 页脚 -->
        <div class="footer">
            佳期已定 敬备薄酌 恭候光临
        </div>
    </div>
    
    <script>
        // 添加一些简单的动画效果
        document.addEventListener('DOMContentLoaded', function() {
            const invitation = document.querySelector('.invitation-container');
            
            // 初始状态
            invitation.style.opacity = '0';
            invitation.style.transform = 'scale(0.9) translateY(20px)';
            
            // 动画效果
            setTimeout(() => {
                invitation.style.transition = 'opacity 0.8s ease, transform 0.8s ease';
                invitation.style.opacity = '1';
                invitation.style.transform = 'scale(1) translateY(0)';
            }, 200);
            
            // 添加一些装饰元素动画
            const decorations = document.querySelectorAll('.decoration');
            decorations.forEach((dec, index) => {
                setTimeout(() => {
                    dec.style.transition = 'opacity 1.5s ease';
                    dec.style.opacity = '0.25';
                }, 500 + index * 200);
            });
            
            // 添加漂浮效果
            const floatingElements = document.querySelectorAll('.floating');
            floatingElements.forEach(el => {
                el.style.animationDelay = `${Math.random() * 2}s`;
            });
        });
    </script>
</body>
</html>